﻿using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Domain.IDomainService.System.IUserService
{
    public interface IUserStateManager
    {
        //批量删除
        Task<DomainResult<IEnumerable<string>>> DeleteRangeAsync(IEnumerable<Guid> ids);
        // 删除
        Task<DomainResult<AppUser>> DeleteUserAsync(Guid id);
        // 启用
        Task<DomainResult<AppUser>> EnableUserAsync(Guid id);
        // 禁用
        Task<DomainResult<AppUser>> DisableUserAsync(Guid id);
    }
}
